<template>
	<!-- monthNum ="12" -->
	<u-calendar ref="calendar" ></u-calendar>
</template>

<script>
	export default {
		data() {
			return {
				show: true,
				mode: 'range',
				sts: false,
			}
		},
		onReady() {
			// 如果需要兼容微信小程序的话，需要用此写法
			this.$refs.calendar.setFormatter(this.formatter)
		},
		methods: {
			confirm(e) {
				console.log(e);
			}
		}
	}
</script>

<style lang="scss" scoped>
	.title{
		color: $u-primary;
		text-align: center;
		padding: 20rpx 0 0 0;
	}
</style>